package com.example.cake.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("sys_admin")
public class SysAdmin {
    private Integer id;
    private String username;
    private String nickname;
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) //密码不返回给前端
    private String password;
}
